| related |
|
|---|
-
PHP - How to build Debian package for modules from PECL
apt-get install dh-make-php dh-make-pecl <module name> cd <source directory> debuild # .deb package will be in parent dir -
PHP - Manual module compiling
# Ensure we see correct PHP export PATH=/usr/local/php5.7:$PATH cd <module source dir> phpize make sudo make install -
PHP - PECL package management
pecl list pecl list-files <name> pecl info <name> pecl install <name> pecl install <name>-<version> pecl uninstall <name> pecl list-upgrades pecl upgrade <name>
-
Linux HTTP/TCP Tuning for initcwnd
ip route change default via <gateway> dev eth0 initcwnd 10consider also to increase net.ipv4.tcp_wmem[1]
-
# Turning it on/off globally <meta http-equiv="x-dns-prefetch-control" content="off"> # Turning it on per-domain <link rel="dns-prefetch" href="http://www.spreadfirefox.com/"> -
Prevent out of ports on high traffic webserver due to
FIN_WAITand other issues:# Ensure to maximize available ports cat /proc/sys/net/ipv4/ip_local_port_range echo 1024 65535 >/proc/sys/net/ipv4/ip_local_port_rangeand set sockets to reuse
# sysctl -p net.ipv4.tcp_tw_reuse = 1 net.ipv4.tcp_tw_recycle = 1 -
gatling - HTTP stress testing
-
- Network sysctl settings